first buttons version, don't work well