added get_apt_details func, needs to be reworked to grab full tables