factors that affect relationships