add missing keywords
adding funciton check for custom constraints