Working version with left panel