revision... i'll better use while, cases and getopts :)