making it automated