checking method before :pre