Demo working on rect