added possibility to specify aliases for fields