working on constraint issues