and return properly