Use element property instead of [0]