now checking for top position