updated stuff - mainly pie