Make seperate functions for detecting X/Y col