made slight change to size function in dist file for demo purposes