adding function for incomplete tried