created visit class