adding basic code structure