add draw method in project