implemented preparation of porter