wip: define img structs