methods are now in proper place