Followed the flow for pkg

Hope this works