Implementing 'fetch' operator