fixes #1: complete main entry