adding more sense into the logic