Some basic zpg stuff in here