modified schema
split initialise in 2 fucntions