finally added some of my functions