implementation of remained service with dyamic argment handling and some bug fix