added paint feature