continued implementing conditionals- need relative position detection