splited canvas script for the comfort