void methods checking added