Added method to generate simple table