removed useless span function