added some important methods