added first drawing code