added default funtion