moved around code (checking placeable)