Changed curly bracket to be on new line
Added creating table functionality