Reverted biotic.c to known working code making very minor changes