created interactive class for easier use