Not quite perfect, but better something than nothing. Probably not actually working.