add optional argument for entity name
move to eclipse