added method to get programs