Is there no nicer solution?