Added data structure + begin + end initial flow