working fds integration, excluding logging and db update