code from offshore