Help writing simple, concise and fast generic operations