basic functions updated

updated