basic code clean