removed needless "main" function