ignore user related data
Refactor, simplify the code by removing duplicates
add alert test, although i think not that useful