some errors in code