code is made more cleaner