putting some thought into pickle framework functions