code appears to be bug free and working