my basic code.