added basic painting using <form>