implemented bulitinfunctions first and rest.