Less stupid attempt at the same