methods works without parameters also