added some stuff at the beginning