That was just stupid and tired coding