Quick and dirty implementation for Alex.