remove pry
add validate method