now functioning slightly