todo comment added. what happens if it crashes during unlcoking