worked on testing methods