forgot the : after def writeslides