better need to fix yshift and res limit