finished coding up meta data checker (but need to check if it works properly