added function parseParameters with respective entity