Got it to work, but time limit does not passed.