Added methods to StartingCLass and MainActor, there is a nullpointerexception