add formations method
better logging