fixed the interface after a silly mistake