trying to make a simplified version of the glorified example