implement razor latch (incomplete)