created method for opposite coords