modified return code