now its working on IDE