fleshed out some functions for chopper