swift 4 inside entry