using a predefined canvas