basic functionality, beginning of metadata fixing