now can render colored rectangle