some basic code written