added method how to calculate mini id
removed mini id because it is not required
removed use of mini id