error reporting works more or less, some other stuff

next input validation