added a clean code without imports