bugs and variables