methods changed

methods need to be rewritten so they do not return null but the boolean
that is assoc. with that method