phew...finally got it