converted interface to struct, better choice there.