adding more funcs
adding panic code