working ok, thanks to pranav