making it all automatey