trying to make a simplified version of the standard example