adding O() notation