changed type of return value