add s3 for removing unused functions in the binary