alternative way of displayling lists inline