return data
fix options and call class from globals