rough details about python implementation