changing exec to use a streamier style