made folder safety check first