bunch o' buggy code