How to run homeworks