Creation and detection of majorana states