added first drawing code from tutorial