removed useless code

leaving select-case statement for easy extending for other projects