Code optimization
Merge pull request #2 from irin4eto/Eating_and_etc

Code optimization