Added code required to function as a base