Added console statements
Testing simpler version