Simplified hist lib