This definitely has a code smell.