Simple test working. Can be optimized.