Added actual first version of the code