basic implementation of idioms works