changed to use jar for packaging