prevent main from being called