adding abc function