added package mapping function. Still in testing phase