added aboveCheck fn