some refactor
btn functions
add link titles
debug