added tags processing