atp causes segfaults, bye bye