error return values also unnecessary here