added all variables in consult
optimised get_data method and added resume report view