can you make this as const function?