Added latch buffers [Ruben]
Added execute logic