wrapped functions in 1 DOM definition