changed function declaration to match the name