changed the separated function to become the new formatted adaptor.