Switched to use interface