define friendshipmodel and states