improved perform but causes segfaults
working
fixed segfault
fixed soldat animation