fixed syntax errors in new fitness implementation; it is not yet complete though