fixed some errors... compiles