trying to get it work as it supposed to