started and initialized variables