Ended handleStock function, works properly, todo: Refactor :D