classes now not inside each others