bugs squashed hopefully
syntax errors