my basic code of learning things