initial implementation of mirrors usage