added method and test to current project in the visit.