simplify onCreate-Method