moved install function back to wrapper