Implement some hacky stuffs