move define into submosule