Working version 1. As barebone as possible