fixed unused shit
added get_pending_or_confirmed method to Service