rough working with both cases