checking in the framelayout