Swift code before going on Main.sotryboard