fixed answer malloc