added zero-padding