started setup functions