add customsize variable