correct values is returned