Added function for creatign computed fileds