add implementation details in readme