intial baseline code