Shell for straight funcgtion