First implementation of our program