changed return code to 3000