finished debugging function code 3