Added function for comparison positions