Lockin's core functions