toying around with code
getting rid of as