converted assignment to use get