Working without pointers